package paket;

public class KopObjekt {

	protected String namn;
	protected double pris;
	protected int antalNr;
	protected int saldo;
	protected int id;
	
	protected KopObjekt (String namn ,double pris, int antalNr, int saldo, int id){
		this.namn = namn;
		this.pris = pris;
		this.antalNr = antalNr;
		this.id = id;
		this.saldo = saldo;
		}
	
	protected String getNamn(){
		return namn;
		}
	
	protected double getPris(){
		return pris;
		}
	
	protected int getAntal(){
		return antalNr;
		}
	protected int getSaldo(){
		return saldo;
		}
	protected int getId(){
		return id;
		}
}
